export const extendOptions = [
  {
    type: "form",
    label: "背景",
    children: [
      {
        type: "form",
        label: "背景颜色",
        tag: "el-color-picker",
        vModel: "__commonOptions__.backgroundColor",
        options: {
          showAlpha: true,
        },
      },
    ]
  },
  {
    type: "form",
    label: "边框",
    children: [
      {
        type: "form",
        label: "边框宽度",
        tag: "el-input-number",
        vModel: "__commonOptions__.borderWidth",
        options: {
          min: 1,
          max: 999,
          step: 1,
        },
      },
      {
        type: "form",
        label: "边框颜色",
        tag: "el-color-picker",
        vModel: "__commonOptions__.borderColor",
        options: {
          showAlpha: true,
        },
      },
      {
        type: "form",
        label: "边框样式",
        tag: "el-select",
        vModel: "__commonOptions__.borderStyle",
        children: [
          {
            tag: "el-option",
            options: {
              label: "实线",
              value: "solid",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "虚线",
              value: "dashed",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "点",
              value: "dotted",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "双实线",
              value: "double",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "隆起",
              value: "ridge",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "沟槽",
              value: "groove",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "内凹",
              value: "inset",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "外凹",
              value: "outset",
            },
          },
          {
            tag: "el-option",
            options: {
              label: "无",
              value: "hidden",
            },
          },
        ],
      },
      {
        type: "form",
        label: "圆角-上左",
        tag: "el-input-number",
        vModel: "__commonOptions__.borderTopLeftRadius",
        options: {
          min: 1,
          max: 999,
          step: 1,
        },
      },
      {
        type: "form",
        label: "圆角-上右",
        tag: "el-input-number",
        vModel: "__commonOptions__.borderTopRightRadius",
        options: {
          min: 1,
          max: 999,
          step: 1,
        },
      },
      {
        type: "form",
        label: "圆角-下左",
        tag: "el-input-number",
        vModel: "__commonOptions__.borderBottomLeftRadius",
        options: {
          min: 1,
          max: 999,
          step: 1,
        },
      },
      {
        type: "form",
        label: "圆角-下右",
        tag: "el-input-number",
        vModel: "__commonOptions__.borderBottomRightRadius",
        options: {
          min: 1,
          max: 999,
          step: 1,
        },
      },
    ],
  },
  {
    type: "form",
    label: "阴影",
    children: [
      {
        type: "form",
        label: "内阴影",
        tag: "el-switch",
        vModel: "__commonOptions__.inset",
      },
      {
        type: "form",
        label: "水平位移",
        tag: "el-input-number",
        vModel: "__commonOptions__.xShadow",
      },
      {
        type: "form",
        label: "垂直位移",
        tag: "el-input-number",
        vModel: "__commonOptions__.yShadow",
      },
      {
        type: "form",
        label: "模糊半径",
        tag: "el-input-number",
        vModel: "__commonOptions__.fShadow",
      },
      {
        type: "form",
        label: "阴影颜色",
        tag: "el-color-picker",
        vModel: "__commonOptions__.cShadow",
        options: {
          showAlpha: true,
        },
      },
    ],
  },
];
